package com.user.seat.mapper;

import com.user.seat.domain.SeatUser;
import com.user.seat.domain.SeatUserExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*SeatUserMapper
* @author Shein Generator
* @since 2022/04/21
*/
public interface SeatUserMapper {
    /**
    * countByExample
    * @param example example
    * @return long long
    */
    long countByExample(SeatUserExample example);

    /**
    * deleteByExample
    * @param example example
    * @return int int
    */
    int deleteByExample(SeatUserExample example);

    /**
    * deleteByPrimaryKey
    * @param id id
    * @return int int
    */
    int deleteByPrimaryKey(Integer id);

    /**
    * insert
    * @param record record
    * @return int int
    */
    int insert(SeatUser record);

    /**
    * insertSelective
    * @param record record
    * @return int int
    */
    int insertSelective(SeatUser record);

    /**
    * selectByExample
    * @param example example
    * @return List<SeatUser> List<SeatUser>
    */
    List<SeatUser> selectByExample(SeatUserExample example);

    /**
    * selectByPrimaryKey
    * @param id id
    * @return SeatUser SeatUser
    */
    SeatUser selectByPrimaryKey(Integer id);

    /**
    * updateByExampleSelective
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExampleSelective(@Param("record") SeatUser record, @Param("example") SeatUserExample example);

    /**
    * updateByExample
    * @param record record
    * @param example example
    * @return int int
    */
    int updateByExample(@Param("record") SeatUser record, @Param("example") SeatUserExample example);

    /**
    * updateByPrimaryKeySelective
    * @param record record
    * @return int int
    */
    int updateByPrimaryKeySelective(SeatUser record);

    /**
    * updateByPrimaryKey
    * @param record record
    * @return int int
    */
    int updateByPrimaryKey(SeatUser record);
}